export const ORDER_STATUS = {
    // 待定价
    PENDING_PRICING: 'pending_pricing',
    PENDING: 'pending',
    PAID: 'paid',
    REFUNDING: 'refunding',
    SHIPPED: 'shipped',
    // 待核销
    PENDING_VERIFICATION: 'pending_verification',
    REFUNDED: 'refunded',
    COMPLETED: 'completed',
    CANCELLED: 'cancelled',
    PENDING_RECEIPT: 'pending_receipt',
}

// 订单状态图标
export const ORDER_STATUS_ICON = {
    [ORDER_STATUS.PENDING_PRICING]: '/static/icon/pending.png',
    [ORDER_STATUS.PENDING]: '/static/icon/pending.png',
    [ORDER_STATUS.PAID]: '/static/icon/success.png',
    [ORDER_STATUS.REFUNDING]: '/static/icon/refunding.png',
    [ORDER_STATUS.SHIPPED]: '/static/icon/shipped.png',
    [ORDER_STATUS.PENDING_VERIFICATION]: '/static/icon/shipped.png',
    [ORDER_STATUS.REFUNDED]: '/static/icon/refunded.png',
    [ORDER_STATUS.COMPLETED]: '/static/icon/completed.png',
    [ORDER_STATUS.CANCELLED]: '/static/icon/cancelled.png',
    [ORDER_STATUS.PENDING_RECEIPT]: '/static/icon/pending_receipt.png'
}
// 订单状态文本
export const ORDER_STATUS_TEXT = {
    [ORDER_STATUS.PENDING_PRICING]: '待定价',
    [ORDER_STATUS.PENDING]: '待支付',
    [ORDER_STATUS.PAID]: '已支付',
    [ORDER_STATUS.REFUNDING]: '退款中',
    [ORDER_STATUS.SHIPPED]: '已发货',
    [ORDER_STATUS.PENDING_VERIFICATION]: '待核销',
    [ORDER_STATUS.REFUNDED]: '已退款',
    [ORDER_STATUS.COMPLETED]: '已完成',
    [ORDER_STATUS.CANCELLED]: '已取消',
    [ORDER_STATUS.PENDING_RECEIPT]: '待收货'
}
